//
//  OEUserDataController.h
//  OneEightyNine
//
//  Created by apple on 2019/3/3.
//  Copyright © 2019 stoneobs. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^OEUserDataNormalHandle)(BOOL success,NSString * errorString,NSDictionary * resp);
NS_ASSUME_NONNULL_BEGIN

@interface OEUserDataController : NSObject
//查询用户信息
+ (void)sendFetchUserInfoRequest:(OEUserDataNormalHandle)handle;
//获取年龄列表
+ (void)sendFetchAgeListRequest:(OEUserDataNormalHandle)handle;
//获取性别列表
+ (void)sendFetchSexListRequest:(OEUserDataNormalHandle)handle;
//查询二维码
+ (void)sendQrCodeMoneyRequest:(void(^)(NSString * qrcode))handle;
// 设置头像
+ (void)sendChangeHeaderRequest:(UIImage*)image handle:(OEUserDataNormalHandle)handle;
//修改昵称 年龄范围 手机号 昵称 等
+ (void)sendChangeValueRequest:(NSString*)value key:(NSString*)key hadle:(OEUserDataNormalHandle)handle;

//查询余额
+ (void)sendFetchMoneyRequest:(void(^)(NSString * money))handle;
//查询充值会员金额
+ (void)sendFetcBeVipMoneyRequest:(void(^)(NSString * money))handle;

#pragma mark --通用 获取支付方式
+ (void)sendGetPayMethod:(OEUserDataNormalHandle)handle;
//支付
+ (void)sendPayRequestWithMoney:(NSString*)money pay_id:(NSString*)pay_id handle:(OEUserDataNormalHandle)handle;
#pragma mark --通用 获取预定选择列表 id,title group获取
+ (void)sendPresuppositionGroupRequestWithHandle:(void(^)(BOOL success,NSArray * fengweiArray,NSArray * ricepointArray,NSArray * peopleArray))handle;
+ (void)sendFengweiRequestHandle:(void(^)(bool success,NSArray * array))handle;
#pragma mark --通用 更新当前 地址
+ (void)sendUpdateLocationRequest;
//设置支付密码
+ (void)sendChangePayPwdRequest:(NSString*)pwd hadle:(OEUserDataNormalHandle)handle;
@end

NS_ASSUME_NONNULL_END
